﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace System.Collections.Generic
{
    public static class GenericIListExtension 
    {
        public static void AddRange<TItem>(this IList<TItem> dict, IEnumerable<TItem> range)
        {
            if (dict!=null && range != null)
                foreach (var item in range)                
                    dict.Add(item);                
        }        
    }
}
